package org.myname.example2;

import java.text.SimpleDateFormat;
import java.util.Date;

public class FunctionTag {
	
	public FunctionTag(){}
	
	public static String today(Integer plus){
		Date myDate = new Date();
		System.out.println(plus.intValue());
		myDate.setTime(myDate.getTime()+(plus.longValue()*24*60*60*1000));
		SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
		return sdf.format(myDate);
	}

}
